<?php
defined( '_VALID_XTC' ) or die( 'Direct Access to this location is not allowed.' );

  echo ('<div class="leftmenu_head" style="background-image:url(images/gm_icons/module.png)">'.BOX_SHOPGATE.'</div>');
	echo ('<div class="leftmenu_collapse leftmenu_collapse_opened"> </div>');
	echo ('<ul class="leftmenu_box" id="BOX_HEADING_SHOPGATE">');
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_BASIC" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=info", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_INFO.'</a></li>';
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_BASIC" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=help", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_HELP.'</a></li>';
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_BASIC" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=register", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_REGISTER.'</a></li>';
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_BASIC" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=config", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_CONFIG.'</a></li>';
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_QRCODE" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=qrcode", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_QRCODE.'</a></li>';
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_BASIC" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=config_ext", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_CONFIG_EXTENDED.'</a></li>';
		if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['shopgate'] == '1'))
			echo '<li class="leftmenu_body_item"><a id="BOX_SHOPGATE_MERCHANT" href="' . xtc_href_link(FILENAME_SHOPGATE."?sg_option=merchant", '', 'NONSSL') . '" class="fav_drag_item">'.BOX_SHOPGATE_MERCHANT.'</a></li>';
	echo ('</ul>');